package com.bo.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bo.enity.OutMaster;
import com.bo.mapper.OutMaskMapper;
import com.bo.service.IOutMaskService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Description:
 * @Author: outes-boot
 * @Date:   2024-11-27
 * @Version: V1.0
 */
@Service
@DS("sp2")
public class SP2OutMaskServiceImpl extends ServiceImpl<OutMaskMapper, OutMaster> implements IOutMaskService {

    @Resource
    private OutMaskMapper outMaskMapper;


    /**
     * 获取最大的id
     */
    @DS("sp2")
    public Integer getMaxId() {
        return outMaskMapper.getMaxId();
    }


}
